package com.neuedu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangsan
 * @since 2024-06-17
 */
@TableName("t_account")
public class TAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "acc_id", type = IdType.AUTO)
    private Long accId;

    private String accUsername;

    private String accPassword;

    private Integer accType;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    public Long getAccId() {
        return accId;
    }

    public void setAccId(Long accId) {
        this.accId = accId;
    }
    public String getAccUsername() {
        return accUsername;
    }

    public void setAccUsername(String accUsername) {
        this.accUsername = accUsername;
    }
    public String getAccPassword() {
        return accPassword;
    }

    public void setAccPassword(String accPassword) {
        this.accPassword = accPassword;
    }
    public Integer getAccType() {
        return accType;
    }

    public void setAccType(Integer accType) {
        this.accType = accType;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TAccount{" +
            "accId=" + accId +
            ", accUsername=" + accUsername +
            ", accPassword=" + accPassword +
            ", accType=" + accType +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
        "}";
    }
}
